package com.hyt.it.ogt.ykcj.domain.zs.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.List;
import java.util.Map;

/**
 * @program: it-ogt-ykcj
 * @description: 导入证书人员数据dto
 * @author: Yang HuanKun
 * @create: 2022-07-12 11:08
 **/
@Data
@Builder
@ApiModel(value = "导入证书人员数据dto", description = "导入证书人员数据dto")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ImportCertificateExamineesDataDTO {

    @Size(message = "缺少证书导入数据", min = 1)
    @ApiModelProperty(value = "导入证书数据")
    private List<Map<String, String>> certificateExaminees;

    @NotBlank(message = "缺少证书ID")
    @ApiModelProperty(value = "证书ID")
    private String infoId;
}
